package com.uton.mvp_demo.presenter;

import com.uton.mvp_demo.model.BaseModel;

/**
 * Created by jackwang on 2018/4/8.
 */

public class AbsPresenter<W extends BaseModel> extends BasePresenter {

    private BaseModel model;

    public AbsPresenter() {

    }

    public void setModel(BaseModel model) {
        this.model = model;
    }

    public W getModel() {
        return (W) model;
    }
}
